package com.smarthospital.web.configuration;

import com.smarthospital.dao.daoService.CommonDaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * create by sym  2021/4/14 23:26.
 */
@Component
public class InitJob {

    @Autowired
    private CommonDaoService commonDaoService;

//    @PostConstruct
    public void init(){
        commonDaoService.initSql();
    }
}
